<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../base.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/manage/booksList.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/manage/userList.js"></script>
</head>
<body>
	<div>
		<h1>会员列表</h1>
		<table class="tb_list">
			<tr>
				<th>用户名</th>
				<th>姓名</th>
				<th>性别</th>
				<th>删除</th>
			</tr>
			<s:if
				test="otherData.userList == null|| otherData.userList.size() == 0">
				<tr>
					<td colspan='3'>暂无数据</td>
				</tr>
			</s:if>
			<s:else>
				<s:iterator var="item" value="otherData.userList">
					<tr>
						<td><a
							href="manage_redirectAfterUser?user.id=<s:property value="#item.id" />"><s:property
									value="#item.userid" /></a></td>
						<td><s:property value="#item.name" /></td>
						<td><s:if test="#item.sex == 0">
									男
								</s:if> <s:else>女</s:else></td>
						<td><a href="<s:property value="#item.id"/>" class="deleteA">删除</a></td>
					</tr>
				</s:iterator>
			</s:else>
		</table>
	</div>
	<div class="table_style_pager">
		<table class="tb_pager">
			<tr>
				<td class="td1"><a href='' id="firstPage">首页</a>&nbsp; <a
					id="upPage" href="#">上一页</a>&nbsp;<a id="downPage" href="#">下一页</a>&nbsp;
					<a id="lastPage" href="#">尾页</a>&nbsp;</td>
				<td class="td2">当前第${otherData.pageNum}/${otherData.pages}页</td>
				<td class="td2">共${otherData.userListSize}条记录</td>
			</tr>
		</table>
		<h2></h2>
		<div class="table_style_page">
			<form action="manage_redirectUserList" target="frm" method="post"
				id="manageForm">
				<label> 跳转到： </label> <input type="text" name="otherData['pageNum']"
					value="${otherData.pageNum }" id="actionPages">页</input> <input
					class="button" name="user_submit" type="submit" value="跳转"
					id="submitButton" /> <input type="hidden"
					value="${otherData.pageNum }" id="pageNumData" /> <input
					type="hidden" value="${otherData.pages }" id="pagesData" />
			</form>
		</div>
	</div>
</body>
</html>